//for练习 1-100求和
//
# include<stdio.h>

int main ()

{
	int sum = 0;
	for(int i = 1; i <= 100; i++)
	{
		sum = sum += i;
	}
		printf("1-100的和为：%d\n",sum);
	
	return 0;
}
